package me.siphone.http.api;

import androidx.annotation.NonNull;
import com.hjq.http.config.IRequestApi;
import java.util.List;

public class QueryStationApi implements IRequestApi {
    @NonNull
    @Override
    public String getApi() {
        return "/prod-api/interface/getMonitorData";
    }

    public static final class Station {
        String measurementStationNo;
        String stationName;
        List<MonitorData> monitorDataList;

        public String getMeasurementStationNo() {
            return measurementStationNo;
        }

        public String getStationName() {
            return stationName;
        }

        public List<MonitorData> getMonitorDataList() {
            return monitorDataList;
        }

        public static final class MonitorData {
            String measurementStationType;
            String synchronizeTimeStr;
            String latestLevel;
            String unit;
            String statusFlag;

            public String getMeasurementStationType() {
                return measurementStationType;
            }

            public String getSynchronizeTimeStr() {
                return synchronizeTimeStr;
            }

            public String getLatestLevel() {
                return latestLevel;
            }

            public String getUnit() {
                return unit;
            }

            public String getStatusFlag() {
                return statusFlag;
            }
        }
    }
}
